home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / drdtips.zip / 1904.TXT < prev    next >
Text File  |  1993-01-07  |  4KB  |  103 lines

  1.                                 FYI
  2. Note:  The origin of this information may be internal or external
  3. to Novell.  Novell makes every effort within its means to verify
  4. this information.  However, the information provided in this
  5. document is FOR YOUR INFORMATION only.  Novell makes no explicit or
  6. implied claims as to the validity of this information.)
  7.  
  8.           TITLE:  PRINTMAP and Printer Commands
  9.    DOCUMENT ID#:  FYI-M-1904
  10.            DATE:  28DEC92
  11.         PRODUCT:  DR Multiuser DOS
  12. PRODUCT VERSION:  5.x
  13.      SUPERSEDES:  13APR92
  14.  
  15.         SYMPTOM:  Additional information on PRINTMAP
  16.  
  17.   ISSUE/PROBLEM:  
  18.  
  19. DOCUMENTATION REFERENCES
  20. - Page 16-42 in the DR Multiuser DOS User Guide
  21. - Pages 13-2 to 13-4 in the DR Multiuser DOS User Guide
  22. - Pages 11-115 to 11-116 in the DR Multiuser DOS User Guide
  23.  
  24. DEFAULTS
  25. - The first concept to understand about DR Multiuser DOS port
  26. assignments is: while most DOS applications (and therefore most DOS
  27. users) refer to the printer ports as LPT1, LPT2, etc., and to the
  28. serial ports as COM1, COM2, etc., DR Multiuser DOS uses these
  29. device names as logical names only, each of which can be mapped to
  30. any physical port.  The physical ports are known to DR Multiuser
  31. DOS as PRN0, PRN1, etc. (for printer ports), and AUX0, AUX1, etc.
  32. (for serial ports). 
  33.  
  34. - The default assignments for PRINTMAP can be seen by typing
  35. PRINTMAP at a prompt.  They are as follows:
  36.  
  37. Logical name       Physical             Physical port
  38.                     name
  39.  
  40. LPT   1         Printer   0             Parallel Port 0
  41. LPT   2         Printer   1             Parallel Port 1
  42. LPT   3         Printer   2             Parallel Port 2
  43.  
  44. COM   1         Aux       0             COM1 Port
  45. COM   2         Aux       1             COM2 Port or
  46.                                         Multiport 1
  47.  
  48.  
  49. - The default descriptions for each possible printer and serial
  50. device are stored in a file called PRINTMAP.DAT (in the OSUTILS
  51. directory). For printing from the console, they are as follows:
  52.  
  53. Physical name                   Physical port
  54.  
  55. Printer 0                       Parallel port 0
  56. Printer 1                       Parallel port 1
  57. Printer 2                       Parallel port 2
  58. Printer 3                       COM1 port
  59. Printer 4                       COM2 port or Multiport 1
  60. Printer 5                       Multiport 2
  61. Printer 6                       Multiport 3
  62.    .                                 .
  63. Printer 15                      Multiport 12
  64.  
  65. Aux     0                       COM1 port
  66. Aux     1                       COM2 port or Multiport 1
  67. Aux     2                       Multiport 2
  68. Aux     3                       Multiport 3
  69.   .                                  .
  70. Aux    15                       Multiport 15
  71.  
  72. For printing from a terminal:
  73. ***The default printer for a terminal is the printer off the back
  74. of that terminal.  To the software running on a terminal, "LPT1" is
  75. the printer that is local to the terminal, by default.  To change
  76. this, a PRINTMAP or PRINTER command would be needed.
  77.  
  78. - The syntax of PRINTMAP, in general is:
  79.         PRINTMAP Logical name = DR Multiuser DOS Physical name
  80. The effect of this is to map the physical port to the logical port
  81. name for this session only.  If the mapping needs to take effect
  82. for every session on a given terminal, put /* after the mapping.
  83.  
  84. EXAMPLES
  85.  
  86. - To send all output that software has directed to LPT3 (from the
  87. session the terminal is in) to the printer defined by the system as
  88. Printer 3 (the printer that is plugged into the device which is
  89. plugged into port COM1), type
  90.         PRINTMAP LPT3 = PRN3
  91.  
  92. - To assign the label LPT4 to the printer plugged into the second
  93. parallel port on the system, type
  94.         PRINTMAP LPT4 = PRN1
  95.  
  96. - To reassign the value of LPT1 for a session, one could either
  97. type
  98.         PRINTMAP LPT1 = PRNx
  99. where x is the printer number one wishes to use, or one could use
  100. the PRINTER command, to type PRINTER x.  This will make all output
  101. to LPT1 from this session go to printer x.  The x is from the DR
  102. Multiuser DOS physical device name, as listed above.
  103.